
<div data-role="content" >
<center><img src="<?=base_url();?>themes/resources/logo.png"/></center>
<?php echo validation_errors('<p class="error">'); ?>
<!--  -->
<?php if(isset($is_login_success) && !$is_login_success )
		echo 'Email or Password is invalid!';
?>

<?php echo form_open("user_controller/validate");?>
<label for="email">Email:</label>
<input type="text" name="email" id="email" data-inset="true">
<label for="password">Password:</label>
<input type="password" name="password" id="password" data-inset="true">
<input type=submit value="Login" name="submit" data-inset="true">

<?php echo form_close();?>
<center>Haven't been registered yet?</center>
<center><a href="<?php echo site_url('user_controller/signup');?>">Get a free account now!</a></center>
</div>
</div>
</body>
</html>